home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / doors_1 / cbv0150u.zip / CBV150.DOC < prev    next >
Text File  |  1992-05-15  |  44KB  |  1,072 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.                                    C B V
  8.  
  9.  
  10.               ┌──────────────────────────────────────────────┐
  11.               │▐▐▐▐▐▐▐▐▐▐· Call Back Verification ·▌▌▌▌▌▌▌▌▌▌│
  12.               └──────────────────────────────────────────────┘
  13.  
  14.                          ---=== Release 1.50 ===---
  15.  
  16.                       Copyright 1991,1992 Chris Holko.
  17.                        All Rights Reserved Worldwide.
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  (CBV150)
  26.  
  27.                 ┌─────────────────────────────────────────┐
  28.                 │▐▐▐▐▐▐▐▐▐▐· Table of Contents ·▌▌▌▌▌▌▌▌▌▌│
  29.                 └─────────────────────────────────────────┘
  30.  
  31.     WARRANTY                                                              1
  32.  
  33.     ACKNOWLEDGEMENTS                                                      1
  34.  
  35.     SHAREWARE DISTRIBUTION                                                2
  36.  
  37.     DISTRIBUTION FILE CONTENTS                                            3
  38.  
  39.     CBV
  40.      ├ Description                                                        4
  41.      ├─ Requirements                                                      .
  42.      ├── Restrictions                                                     .
  43.      │
  44.      ├ Support Files                                                      5
  45.      │  ├ CBVCFG.DAT                                                      .
  46.      │  ├─ CBVTRASH.DAT                                                   .
  47.      │  ├── CBVAREAC.DAT                                                  6
  48.      │  └─── CBVCALLS.DAT                                                 .
  49.      │
  50.      └ User Message Files                                                 7
  51.         ├ WELCOME.CBV                                                     .
  52.         ├─ PREPARE.CBV                                                    .
  53.         ├── PASSWORD.CBV                                                  .
  54.         ├─── NOLONGD.CBV                                                  .
  55.         ├──── LOCKOUT.CBV                                                 .
  56.         └───── VERIFIED.CBV                                               .
  57.  
  58.     CBV INSTALLATION
  59.      ├─ Files                                                             8
  60.      ├── Command Line                                                     .
  61.      └─── CHAINEDIT                                                       .
  62.  
  63.     CBV CONFIGURATION
  64.      ├ Main Menu                                                          9
  65.      ├─ Security Validation Menu                                         10
  66.      ├── Modified "userrec" Menu                                         11
  67.      ├─── Modem Menu                                                     12
  68.      ├──── Long Distance Menu                                            13
  69.      └───── Miscellaneous Menu                                           14
  70.  
  71.     APPENDICES
  72.      ├ A. Error Messages                                                 16
  73.      ├─ B. Session Control                                               19
  74.      ├── C. Contacting the author                                        20
  75.      ├─── D. User Restrictions                                           21
  76.      └──── E. CBVCFG.DAT layout                                          22
  77.  
  78.  (CBV150)  1
  79.  
  80.  
  81.                      ┌────────────────────────────────┐
  82.                      │▐▐▐▐▐▐▐▐▐▐· WARRANTY ·▌▌▌▌▌▌▌▌▌▌│
  83.                      └────────────────────────────────┘
  84.  
  85.  
  86.     CBV (Call-Back Verification) has NO WARRANTY.  Use of CBV,  and any
  87.     accompanying programs/files IS AT YOUR OWN RISK.  By your use of CBV
  88.     you agree to hold the author and parties directly or indirectly related
  89.     to the author faultless from the non-use,  use,  and/or misuse of CBV.
  90.  
  91.     CBV (CALL-BACK VERIFICATION) IS PROVIDED "AS-IS" AND WITHOUT WARRANTY,
  92.     IMPLIED OR OTHERWISE.
  93.  
  94.  
  95.  
  96.                  ┌────────────────────────────────────────┐
  97.                  │▐▐▐▐▐▐▐▐▐▐· ACKNOWLEDGEMENTS ·▌▌▌▌▌▌▌▌▌▌│
  98.                  └────────────────────────────────────────┘
  99.  
  100.  
  101.     References not otherwise documented.
  102.  
  103.     WWIV                     refers to World War Four Bulletin Board System
  104.     CBV                      refers to Call Back Verification Program
  105.     DOS                      refers to MS-DOS and/or PC-DOS
  106.  
  107.  
  108.     Copyright,  Trademark,  and Servicemark notices.
  109.  
  110.     WWIV                     Copyright (c) 1987-1992 by Wayne Bell.
  111.     Turbo Pascal             Copyright (c) 1982-1992 by Borland Int.
  112.  
  113.  
  114.  
  115.  (CBV150)  2
  116.  
  117.  
  118.               ┌──────────────────────────────────────────────┐
  119.               │▐▐▐▐▐▐▐▐▐▐· SHAREWARE DISTRIBUTION ·▌▌▌▌▌▌▌▌▌▌│
  120.               └──────────────────────────────────────────────┘
  121.  
  122.     Shareware is a unique method for the marketing of computer software.
  123.     Most of all the products are easily obtained from larger Bulletin Board
  124.     Systems worldwide.  The basis behind the workings of the Shareware
  125.     system is the HONOR system.  This means that the end user is free to
  126.     use the product for a limited trial period to see if suits their needs.
  127.     If the user continues to use the product after the trial period it is
  128.     expected of them to register the product with its author with any
  129.     stated fees,  this is to reimburse the author for both his time spent
  130.     in developing the product and to provide incentive to maintain and
  131.     update the product.
  132.  
  133.     You are free to test and use this program,  CBV,  to determine if it
  134.     suits your needs.  If you continue to use this program beyond thirty
  135.     (30) days complete the registration form (REGISTER.TXT) and mail it
  136.     with the registration fee to the address listed on the form.  Upon the
  137.     receipt of the completed registration form and fees you will be kept
  138.     advised on the status and availability of CBV,  granted use of the
  139.     registered version,  get timely support when needed,  and possible use
  140.     of beta and specialized versions of CBV.
  141.  
  142.  (CBV150)  3
  143.  
  144.  
  145.             ┌──────────────────────────────────────────────────┐
  146.             │▐▐▐▐▐▐▐▐▐▐· DISTRIBUTION FILE CONTENTS ·▌▌▌▌▌▌▌▌▌▌│
  147.             └──────────────────────────────────────────────────┘
  148.  
  149.     CBV is distributed as a complete package compressed into one archive
  150.     file.  The archive file of the UNREGISTERED version may be freely
  151.     distributed so long as no charge is required to obtain the package and
  152.     no modification to the distribution package is made.
  153.  
  154.     The naming convention the archive file is
  155.  
  156.     CBV0MMRT.AAA             AAA = Archiving method used.
  157.  
  158.                               MM = Major version number  ie. 14
  159.  
  160.                                R = Revision number       ie.  0
  161.  
  162.                                T = Release Type Specifier
  163.                                    U = UNREGISTERED
  164.                                    R = REGISTERED
  165.  
  166.      DISTRIBUTION OF REGISTERED, ALPHA, OR BETA VERSIONS IS PROHIBITED.
  167.  
  168.  
  169.      Take time to examine the contents of the archive file,  you will find
  170.      the following files with possibly a late text file addition.
  171.  
  172.  
  173.      [38400] CBV     .EXE    - The CBV program executable
  174.      [29840] CBVCFG  .EXE    - The CBVCFG program executable
  175.              CBVCFG  .DAT    - Sample CBV configuration file
  176.              CBVTRASH.DAT    - Sample CBV phone number trash file
  177.              CBVAREAC.DAT    - Sample Local Area Code(s) file
  178.              CBVCALLS.DAT    - Sample Call-Only file
  179.  
  180.              CBVMENU .MOD    - Mod to run CBV from Main Menu
  181.  
  182.              AUTOCFG .C      - .C source for users of modified WWIV BBSes
  183.  
  184.              CBV150  .DOC    - This documentation
  185.              HISTORY!.DOC    - List of revisions made to CBV
  186.              READ    .ME     - Last minute updates / notices
  187.  
  188.              WELCOME .CBV    - Sample user welcome message
  189.              LOCKOUT .CBV    - Sample invalid/locked phone number message
  190.              NOLONGD .CBV    - Sample no long distance calls message
  191.              PREPARE .CBV    - Sample prepare for call back message
  192.              PASSWORD.CBV    - Sample enter password message
  193.              VERIFIED.CBV    - Sample account upgraded message
  194.  
  195.              REGISTER.TXT    - REGISTRATION FORM FOR CBV.
  196.  
  197.  (CBV150)  4
  198.  
  199.  
  200.                        ┌───────────────────────────┐
  201.                        │▐▐▐▐▐▐▐▐▐▐· CBV ·▌▌▌▌▌▌▌▌▌▌│
  202.                        └───────────────────────────┘
  203.  
  204.  
  205.     ▐ Description
  206.  
  207.     CBV is a call back verification system designed for use with World War
  208.     Four Bulletin Board Systems.  It is intended to provide an easy way for
  209.     WWIV users to self validate themselves without direct System Operator
  210.     intervention.  CBV also enhances system security by recording the
  211.     complete phone numbers used for verification.  It can also be
  212.     configured to lockout troublesome users,  lockout specific area codes
  213.     and prefixes,  and prevent users from gaining multiple accounts.  CBV
  214.     can also be configured to offer long distance callers a customized
  215.     access level different from local callers.
  216.  
  217.     CBV has its own built in communication routines,  which auto-sense the
  218.     speed of the communication port,  and can be used with high speed
  219.     modems.  CBV also has built in safeguards to prevent accidental
  220.     corruption of system files.  If for any reason CBV should abort because
  221.     of internal errors it will provide and explanation of said reason both
  222.     on the local screen and the system log.  CBV uses direct DTR control to
  223.     disconnect callers and has an optional fall back option to use a modem
  224.     control string.
  225.  
  226.     CBV was coded entirely in Turbo Pascal,  features built in ANSI
  227.     interpetation,  WWIV-ANSI interpetation,  wordwrap,  and a System
  228.     Operator interface based upon WWIV.  CBV is comprised of approximately
  229.     3000 lines of code,  the configuration program about 1000 lines.
  230.  
  231.  
  232.     ▐▐ Requirements
  233.  
  234.     Basically if you can use WWIV on your system the you should be able to
  235.     run CBV.  All support files must be in the same directory with the CBV
  236.     executable.
  237.  
  238.  
  239.     ▐▐▐ Restrictions
  240.  
  241.     CBV can be adapted to any WWIV BBS using WWIV versions 4.10 and above
  242.     provided the following conditions are met.
  243.  
  244.      > The length of the NAME, PASSWORD, and NOTE fields cannot be changed.
  245.      > The size of SL, DSL, and EXEMPT must not be changed.
  246.      > The size of AR, DAR, and RESTRICT must not be changed.
  247.  
  248.     If you are running a modified version of WWIV where you have made
  249.     changes to the structure "userrec" you must compile the enclosed
  250.     source to DISPLAY.C with your modified source.  This will produce a
  251.     program which will display field offsets into your modified "userrec"
  252.     which are needed by the CBVCFG configuration program.
  253.  
  254.  (CBV150)  5
  255.  
  256.  
  257.     ▐▐▐▐ Support Files.
  258.  
  259.     CBV requires the following four data files to be present at all times.
  260.  
  261.     (CBVCFG.DAT)
  262.  
  263.     CBVCFG.DAT is the name of the CBV configuration file.  It is produced
  264.     by the program CBVCFG.EXE .  This file cannot be edited by a word
  265.     processor or standard editor as it is NOT ASCII.  No other program but
  266.     CBVCFG.EXE should be used to modify this file.  The layout of the
  267.     configuration file is detailed in APPENDIX F.
  268.  
  269.     (CBVTRASH.DAT)
  270.  
  271.     This is an ASCII file,  which can be edited using a ASCII file editor.
  272.     If you use a word processor to edit this file make sure it outputs as
  273.     ASCII.  This file contains the list of all INVALID area codes,
  274.     prefixes, arecode-prefixes,  and phone numbers.  CBV can optionally add
  275.     numbers to this file to prevent callers from gaining multiple user ids
  276.     on your system.
  277.  
  278.     Only one entry per line is permitted,  comments may be on the same line
  279.     as any number provided the comment begins with a semi-color ";".  All
  280.     entries must start at column one.
  281.  
  282.     Example CBVTRASH.DAT :
  283.  
  284.              1         2
  285.     123456789012345678901234567890
  286.  
  287.     900             ; We don't want to allow 900 calls
  288.     976             ; Neither do we want 976 calls
  289.     555             ; Directory assistance... NOT!
  290.     911             ; Emergency,  yeah,  like no access
  291.     404-555         ; Lockout of specific areacode-prefix
  292.     404-555-9999    ; Locked out number <- bad user?
  293.  
  294.     ---
  295.  
  296.     Basically there are certain numbers which should not be dialed,  and
  297.     certain numbers which are reserved for specialized purposes.  CBV also
  298.     prevents to the best of its ability users from entering invalid area
  299.     codes and prefixes.  This means no "1"s or "0"s as the first number
  300.     of an area code or prefix,  and only a "1" or "0" as the middle number
  301.     of the area code.  Also,  area codes and prefixes are supposed to
  302.     unique,  however this cannot be guaranteed so CBV will not enforce it.
  303.  
  304.  (CBV150)  6
  305.  
  306.  
  307.     ▐▐▐▐ Support Files  - Continued
  308.  
  309.     (CBVAREAC.DAT)
  310.  
  311.     This file contain a list of the areacodes that are *LOCAL* to your
  312.     BBS.  Only one entry per line is permitted,  and no comments are
  313.     allowed.  You can create or edit this file with an ASCII editor.
  314.     If you have CBV versions 1.40-1.45 installed then the config program
  315.     for CBV 1.50+ will automatically create this file for you.  You should
  316.     still check this file for validity of data.
  317.  
  318.     (CBVCALLS.DAT)
  319.  
  320.     This file contains the list of AREACODE-PREFIXES that you only want
  321.     CBV to call.  This file is only accessed if the CBVCFG.Miscellaneous
  322.     option "(E) - Use CBVCALLS.DAT Call Only File" is set to "YES".  Even
  323.     if set to no this file must exist,  the data contained within will
  324.     simply be ignored.  The file may be edited with an ASCII editor
  325.     following the rules set forth for the file "CBVTRASH.DAT".
  326.  
  327.  
  328.  (CBV150)  7
  329.  
  330.  
  331.     ▐▐▐▐▐ User Message Files.
  332.  
  333.     CBV requires that six message files exist before it will run.  These
  334.     files are displayed to the user as needed.  They are ASCII files and
  335.     rules for editing them are similar to the CBVTRASH.DAT file.  WWIV ANSI
  336.     codes may be used freely within these files,  however pure ANSI should
  337.     be avoided.  A sample of each file has been included with the archive
  338.     package.
  339.  
  340.  
  341.     (WELCOME .CBV)
  342.  
  343.     This file is displayed to the user before he enters any information.
  344.     It purpose is to explain what call back verification is for.  After
  345.     this file is displayed the program will ask the user if they wish to
  346.     continue.
  347.  
  348.     (PREPARE .CBV)
  349.  
  350.     This file is displayed to the user before the actual call back begins.
  351.     This is done immediately after the user has entered a number CBV has
  352.     judged to be valid.
  353.  
  354.     (PASSWORD.CBV)
  355.  
  356.     This file is displayed once CBV has reconnected with the user BUT
  357.     before they have entered their password.
  358.  
  359.     (NOLONGD .CBV)
  360.  
  361.     This file is displayed if the user has entered a long distance phone
  362.     number and the SysOp has not configured CBV to allow them.  It will
  363.     also be displayed if the long distance calling window is closed.
  364.  
  365.     (LOCKOUT .CBV)
  366.  
  367.     This file will be displayed if the user enters a phone number in which
  368.     the area code,  prefix,  or whole number appears in the CBVTRASH.DAT
  369.     file.
  370.  
  371.     (VERIFIED.CBV)
  372.  
  373.     This file is displayed after the user has completed the verification
  374.     process,  just after correctly entering their password.  This is a good
  375.     method of describing what access they have,  and to inform long distance
  376.     callers that they will need to call back again.
  377.  
  378.     (CANTCALL.CBV)
  379.  
  380.     This file will be displayed if the option for "Check Call Only File" is
  381.     set to "Yes" and the user's AREACODE-PREFIX is not found in the
  382.     CBVCALLS.DAT file.
  383.  
  384.  (CBV150)  8
  385.  
  386.  
  387.                  ┌────────────────────────────────────────┐
  388.                  │▐▐▐▐▐▐▐▐▐▐· CBV INSTALLATION ·▌▌▌▌▌▌▌▌▌▌│
  389.                  └────────────────────────────────────────┘
  390.  
  391.  
  392.  
  393.     ▐ Files
  394.  
  395.     Extract all files contained within the archive file into the same
  396.     directory.  It is suggested that CBV be placed in its on sub-directory.
  397.     When running the program make sure to switch to the same directory as
  398.     where these files reside.
  399.  
  400.  
  401.     ▐▐ Command Line
  402.  
  403.     CBV requires the path/filename to the CHAIN.TXT be present on the
  404.     command line.  The path is not needed if the CHAIN.TXT file is in the
  405.     same directory as CBV.  CBV will abort if it cannot find this file or
  406.     if it cannot read it.
  407.  
  408.  
  409.     ▐▐▐ CHAINEDIT
  410.  
  411.     To make the door available to your users,  enter into CHAINEDIT either
  412.     by pressing "C" at the WFC or entering "//CHAINEDIT" at the main menu
  413.     prompt.  It is recommended that CBV be the first entry listed in your
  414.     online programs list.
  415.  
  416.     Example CHAINEDIT entry :
  417.  
  418.  
  419.     Name           : "CALL BACK DOOR"
  420.     FileName       : "CALLBACK.BAT %1"
  421.     SL             : ??
  422.     AR             : ??
  423.     ANSI           : N/A
  424.     300 Baud       : N/A
  425.     Use DOS Intr.  : NO                   <- DOS INTR MUST BE TURNED OFF!
  426.     Shrink         : YES                  <- YOU MUST HAVE SHRINK ON!
  427.     Turn off pause : N/A
  428.  
  429.  
  430.     "N/A" means that they have not effect on the operation of CBV.  If the
  431.     user does not want ANSI displays then CBV will strip ANSI as needed.
  432.     The option for pause is ignored by CBV.
  433.  
  434.     "??" means that these values are strictly your preference.
  435.  
  436.  (CBV150)  9
  437.  
  438.  
  439.                 ┌─────────────────────────────────────────┐
  440.                 │▐▐▐▐▐▐▐▐▐▐· CBV CONFIGURATION ·▌▌▌▌▌▌▌▌▌▌│
  441.                 └─────────────────────────────────────────┘
  442.  
  443.  
  444.  
  445.     You must run the configuration program before using CBV.  There are
  446.     many system dependant values which need to be altered to reflect your
  447.     system's configuration.  CBV has the ability to alter the user's SL,
  448.     DSL,  ARs,  DARs,  Exemptions,  and Restrictions.  Most of the fields
  449.     are self explanatory.  CBV does simple error checking,  and will not
  450.     correct values designed to cause problems.  CBVCFG is divided into five
  451.     sections,  main,  security,  userrec,  modem,  and long distance.
  452.  
  453.     [REG]          - Requires REGISTERED version for entry to have effect.
  454.                      unregistered value appears inside curly braces
  455.  
  456.  
  457.     ▐ MAIN MENU
  458.  
  459.  
  460.       (A) `Goto Security Validation Menu         '
  461.       (B) `Goto Modified "userrec" Menu          '
  462.       (C) `Goto Modem Menu                       '
  463.       (D) `Goto Long Distance Menu               '
  464.       (E) `Goto Miscellaneous Menu               '
  465.  
  466.          The above options change to their respective menus.
  467.  
  468.       (F) `BBS Phone Number       (XXX)XXX-XXXX  '    {404-426-1941}  [REG]
  469.  
  470.          Change this number to reflect your BBSes phone number.  This
  471.          is used only when CBV displays the example phone number entry.
  472.          It is reccommended you enter your BBS phone number into the
  473.          "CBVTRASH.DAT" file too.
  474.  
  475.       (G) `PATH to main BBS directory            '
  476.  
  477.          Enter the <drive\path> to your main BBS directory.  This is the
  478.          same directory where BBS.EXE resides.  If not properly set CBV
  479.          will be unable to locate the file "RESTORE.WWV" and will not be
  480.          able to determine if the BBS is running under SHRINK.
  481.  
  482.       (S) `Save Configuration and Quit           '
  483.  
  484.          Choose this option to save any changes you have made to your
  485.          configuration.  After saving the program will exit to the previous
  486.          task,  usually DOS.
  487.  
  488.       (X) `eXit without saving                   '
  489.  
  490.          Choose this option NOT to save any changes you have made to your
  491.          configuration.  This is good if you forgot something or changed
  492.          something inadvertently.
  493.  
  494.  (CBV150)  10
  495.  
  496.  
  497.     ▐▐ SECURITY
  498.  
  499.  
  500.       (A) `Maximum SL allowed to use CBV         '
  501.  
  502.          This option specifies the highest SL a user can have and still use
  503.          the call back verification program.
  504.  
  505.       (B) `Validated SL                          '    (   0 / 255 )
  506.       (C) `Validated DSL                         '    (   0 / 255 )
  507.  
  508.          These options specify the SL and DSL given to users who
  509.          sucessfully complete the call back verification.
  510.  
  511.       (D) `Validated AR                          '    { }             [REG]
  512.       (E) `Validated DAR                         '    { }             [REG]
  513.  
  514.          These options specify the AR and DAR flags given to users who
  515.          sucessfully complete the call back verification.  Press the letter
  516.          of the flag you wish to toggle on or off.  To exit the routine
  517.          without making changes press the Escape key,  otherwise press the
  518.          RETURN key to keep changes.  Valid keys are "ABCDEFGHIJKLMNOP".
  519.  
  520.       (F) `Validated Restrictions                '    { }             [REG]
  521.  
  522.          This options controls which restrictions are active on callers who
  523.          sucessfully complete the call back verification.  Press the letter
  524.          of the restriction you wish to toggle on or off.  To exit the
  525.          routine without making changes press the Escape key,  otherwise
  526.          press the RETURN key to keep changes.   Valid keys are
  527.          "LCMA*PEVKNU".
  528.  
  529.       (G) `Validate Exemptions                   '    { }             [REG]
  530.  
  531.          This option controls which exemptions a user gets once they
  532.          sucessfully complete the call back verification.  Press the number
  533.          of the restriction you wish to toggle on or off.  To exit the
  534.          routine without making changes press the Escape key,  otherwise
  535.          press RETURN to keep changes.  Valid keys are "1234".
  536.  
  537.       (H) - (M)  'LD Validated ......            '                    [REG]
  538.  
  539.          These options work identically to their above counterparts but
  540.          are given to callers who sucessfully complete call back
  541.          verification and are long distance from the BBS.  This includes
  542.          both callers long distance within and outside the local calling
  543.          areas.
  544.  
  545.       (Q) `Quit to Main Menu                     '
  546.  
  547.          This option will return you to the main menu.
  548.  
  549.  (CBV150)  11
  550.  
  551.  
  552.     ▐▐▐ USERREC
  553.  
  554.  
  555.     You only need to modify the values given in this section if you have
  556.     made changes to the size or layout of your user file.  CBV uses the
  557.     name and SL fields to make sure that it has the correct user,  it uses
  558.     the length field to see if the user file is of the correct length.  To
  559.     obtain the values necessary for this section you will need to compile
  560.     and run the program "DISPLAY.C" and write down the values it lists.
  561.  
  562.  
  563.       (A) `Length of structure "userrec"        '    [ 0 / 2048 ]
  564.  
  565.         Enter the length of the your "userrec" structure.  The default
  566.         value is 700,  which is accurate for stock WWIV boards.
  567.  
  568.       (B) `Offset to "userrec.name"             '     [   0 ]
  569.       (C) `Offset to "userrec.phone"            '     [  59 ]
  570.       (D) `Offset to "userrec.passwd"           '     [  72 ]
  571.       (E) `Offset to "userrec.note"             '     [  99 ]
  572.       (F) `Offset to "userrec.sl"               '     [ 391 ]
  573.       (G) `Offset to "userrec.dsl"              '     [ 392 ]
  574.       (H) `Offset to "userrec.exempt"           '     [ 393 ]
  575.       (I) `Offset to "userrec.ar"               '     [ 444 ]
  576.       (J) `Offset to "userrec.dar"              '     [ 446 ]
  577.       (K) `Offset to "userrec.restrict"         '     [ 448 ]
  578.  
  579.         The above fields are the offsets from the beginning of the
  580.         structure "userrec" to the beginning of the field.  If any of these
  581.         is not correct possible corruption of the user file is possible.
  582.  
  583.       (L) `RESTORE.WWV - ACTSL offset           '     [   0 ]
  584.  
  585.         This one is very important.  If you are running WWIV versions 4.20a
  586.         you may have to modify the value here.  For all 4.20 versions the
  587.         value can be left at 0 or 265.  WWIV version 4.21 should be 267.
  588.         You can find out the exact value by examining the source file
  589.         SHRINK.C which comes as part of the WWIV source file.  Check the
  590.         procedure that writes RESTORE.WWV,  and if the variable ACTSL is
  591.         the last variable written leave this setting at 0,  else enter
  592.         its offset from the first value to be written.  Refer to the
  593.         program GETACTSL.EXE and its documentation.
  594.  
  595.       (M) `Configure using AUTOCBV.CFG          '
  596.  
  597.         Choose this option if you have compiled and run AUTOCFG.C.  It will
  598.         auto-enter entries A-K.  If the file is not found it will beep
  599.         when chosen and "(NOT FOUND)" will be displayed next to the entry.
  600.  
  601.       (Q) `Quit to Main Menu                    '
  602.  
  603.          This option will return you to the main menu.
  604.  
  605.  (CBV150)  12
  606.  
  607.  
  608.     ▐▐▐▐ MODEM
  609.  
  610.  
  611.       (A) `Seconds to delay from hangup to callback'    (  1 / 59 )
  612.  
  613.          This is the time CBV will wait from sucessful disconnection before
  614.          attempting to make the call back.  This default value is "3"
  615.          seconds,  and rarely should it ever be increased beyond 10.
  616.  
  617.       (B) `Seconds to keep DTR lowered for hangup  '    (  1 / 59 )
  618.  
  619.          This is the time CBV will keep DTR "Data Transmit Ready" lowered.
  620.          This is the primary method CBV uses to disconnect a caller.  This
  621.          may need adjustment if your modem in unusually slow to react to
  622.          changes in DTR settings.  The default setting is "2" seconds.
  623.  
  624.       (C) `Perform CTS-RTS flow control            '     ( yes / NO )
  625.  
  626.          Set this to "YES" if you are using a high speed modem where you
  627.          have the communications port locked to a specified speed.
  628.          Normally CBV simply uses XON/XOFF checking,  but high speed modems
  629.          normally use this method to control when it is okay to transmit
  630.          characters.
  631.  
  632.       (D) `Command to use for dialing              '     ( ATDT )
  633.  
  634.          Enter the command your modem uses to DIAL.  You may use the tilde
  635.          character "~" for half-second delays.
  636.  
  637.       (E) `Command to use to hangup                '     ( +++~~~ATH0 )
  638.  
  639.          Normally CBV uses direct DTR control to disconnect the user,
  640.          however some modems fail to respond to DTR control.  This option
  641.          allows you to specify the command required to hangup your modem.
  642.          You may use the tilde character "~" for half-second delays.
  643.  
  644.       (Q) `Quit to Main Menu                    '
  645.  
  646.          This option will return you to the main menu.
  647.  
  648.  (CBV150)  13
  649.  
  650.  
  651.     ▐▐▐▐▐ LONG DISTANCE
  652.  
  653.  
  654.       (A) `Perform In-AREAC LD Validation        '    ( yes / {NO} )  [REG]
  655.  
  656.          Set this option to "YES" if you want CBV to verify callers who are
  657.          long distance from the BBS but within the local area code(s).
  658.          Caller will be disconnected to avoid unnecessary expense.
  659.  
  660.       (B) `Perform Out of AREAC LD Validation    '    ( yes / {NO} )  [REG]
  661.  
  662.          Set this option to "YES" if you want CBV to verify caller who are
  663.          long distance from the BBS and outside the local area code(s).
  664.          Caller will be disconnected to avoid unnecessary expense.
  665.  
  666.       (C) `LD Validation WINDOW begins at        '    ( 00:00 )       [REG]
  667.       (D) `LD Validation WINDOW ends at          '    ( 00:00 )       [REG]
  668.  
  669.          These two options if set control when CBV can make long distance
  670.          call back verifications.  They have no effect if option "A" is set
  671.          to NO.  The values are entered in military format,  "00:00" to
  672.          "24:00".  To leave the value unchanged press the Escape key else
  673.          press ENTER or complete the time field.
  674.  
  675.       (F) `Long Distance ACCESS Code             '    ( "1-" )        [REG]
  676.  
  677.          Important,  normally most long distance calls are performed by
  678.          prepending a "1-" to the phone number.  There are some types of
  679.          long distance services that require some type of special code to
  680.          use them.  If you belong to one of these services then enter that
  681.          code here else leave it set to "1-".
  682.  
  683.       (Q) `Quit to Main Menu                    '
  684.  
  685.          This option will return you to the main menu.
  686.  
  687.  (CBV150)  14
  688.  
  689.  
  690.     ▐▐▐▐▐▐ MISCELLANEOUS
  691.  
  692.  
  693.       (A) `Using WWIV version 4.20+              '    ( yes or NO )
  694.  
  695.          Set this to "YES" if you are using WWIV versions 4.20 or greater,
  696.          otherwise the user's SL will not be properly updated.
  697.  
  698.       (B) `Compare phone numbers (logon/entry)   '    ( yes or NO )
  699.  
  700.          Set this to "YES" if you want CBV to notify you in the current
  701.          SysOp log if the number used by the user for verification was
  702.          different from the one they entered when initially logging onto
  703.          the BBS.  If also using option C (below) the number placed in
  704.          the note field will be preceeded by "****".
  705.  
  706.       (C) `Place phone numbers in "userrec.note" '    ( yes or NO )
  707.  
  708.          Set this to "YES" if you want CBV to place the verification phone
  709.          number into the user's note field.
  710.  
  711.       (D) `Auto-Update "CBVTRASH.DAT" file.      '    ( yes or {NO} ) [REG]
  712.  
  713.          Set this to "YES" if you want CBV to place the verification phone
  714.          number into the trash file.  This can be used to automatically
  715.          prevent users from obtaining mulitple accounts via CBV.
  716.  
  717.       (E) `Use "CBVCALLS.DAT" Call Only File     '    ( yes or NO )
  718.  
  719.          Normally CBV determines if a call is long-distance by either
  720.          comparing the areacode entered by the user to the entries in the
  721.          "CBVAREAC.DAT" file or by asking the user.  This helps prevents
  722.          incurring unnecessary expense.  This option is ignored when call
  723.          is determined to be out of areacode long distance.
  724.  
  725.          If this option is also set CBV will check to see if the
  726.          AREACODE-PREFIX combination exist in the Call Only File,  if not
  727.          the user will be shown the "CANTCALL.CBV" message.  This can be
  728.          used to insure that calls are made only to certain AREACODE-PREFIX
  729.          combinations.  Please note,  if the AREACODE-PREFIX combination
  730.          does not exist in the "CBVCALLS.DAT" file and this option is turned
  731.          on only those numbers matching will be called.
  732.  
  733.          If you wish to simply lockout AREACODE-PREFIX combinations then
  734.          make the entry into the "CBVTRASH.DAT" file.
  735.  
  736.  
  737.  (CBV150)  15
  738.  
  739.  
  740.     ▐▐▐▐▐▐ MISCELLANEOUS - Continued
  741.  
  742.  
  743.       (F) `Hangup after ALL verifications        '    ( yes or NO )
  744.  
  745.          If set to YES after any successful verification the caller will be
  746.          disconnected.  You should inform the caller about this in one of
  747.          the user messages,  preferably in "VERIFIED.CBV".
  748.  
  749.  
  750.       (G) `Perform DIRECT Screen Writes          '    ( yes or NO )
  751.  
  752.          Some multi-tasking operating systems lockup when programs write
  753.          directly to the screen,  leaving this option set to "NO" can
  754.          alleviate this problem.  Setting this option to "YES" will however
  755.          greatly increase local screen updates.
  756.  
  757.       (H) `Number of attempts to call back       '    ( { 1 } / 10 )  [REG]
  758.  
  759.          This setting controls how many times CBV will attempt to call back
  760.          the user in one session.
  761.  
  762.       (I) `Minimum time granted in CBV (min)     '    (  0    / 20 )
  763.  
  764.          This option can be used to make sure a user has a minimum amount
  765.          of time to complete the verification process.  If set to 0 then
  766.          the user will simply have their normal timeleft as defined by
  767.          the BBS,  if set to any other value other than 0 then the users
  768.          time will be increased to that value but never decreased.  Please
  769.          note that when the user exits the verification process that this
  770.          option will not change the BBS defined timeleft.
  771.  
  772.       (J) `Time allowed between keystrokes (sec) '    (  180  / 600 )
  773.  
  774.          This option is used to define the remote/local keyboard timeout.
  775.          The minimum value is 90 seconds.  This can be changed to suit
  776.          the needs of your users.  If a character is not received either
  777.          from the modem or local keyboard within the specified number of
  778.          seconds since the lastone the user will be returned to the BBS.
  779.  
  780.       (Q) `Quit to Main Menu                    '
  781.  
  782.          This option will return you to the main menu.
  783.  
  784.  
  785.  (CBV150)  16
  786.  
  787.  
  788.                     ┌──────────────────────────────────┐
  789.                     │▐▐▐▐▐▐▐▐▐▐· APPENDICES ·▌▌▌▌▌▌▌▌▌▌│
  790.                     └──────────────────────────────────┘
  791.  
  792.  
  793.     ▐ A. ERROR MESSAGES
  794.  
  795.  
  796.     CBV when properly setup should not error.  However not everything goes
  797.     right and CBV was written to take this into account.  There are two
  798.     types of errors,  FATAL and NOTICE.
  799.  
  800.     FATAL errors are just what you expect,  errors that in some way prevent
  801.     CBV from continuing.  Usually these are caused by improper installation
  802.     and/or configuration of the program.
  803.  
  804.     NOTICEs occur when CBV encounters something which the System Operator
  805.     should be made aware of.  These usually involve problems with the user,
  806.     like being locked out or not wishing to use the door.
  807.  
  808.  
  809.     FATAL ERRORS :
  810.  
  811.      1> CHAIN.TXT PATH/FILENAME NOT FOUND ON COMMAND LINE.
  812.  
  813.        a) Verify that the %1 was entered as part of the filename
  814.           specification in CHAINEDIT.
  815.  
  816.        b) If using a batch file to run CBV verify that actual call of CBV
  817.           uses the DOS SUBSITUTION variable %1.
  818.  
  819.      2> UNABLE TO FIND FILE "filename.ext".
  820.  
  821.        a) This error should only occur when CBV is executed from a batch
  822.           file that specifies the path/filename to CHAIN.TXT and that
  823.           specification is incorrect.
  824.  
  825.      3> ERROR READING FILE "filename.ext".
  826.  
  827.        a) Verify that the CHAIN.TXT file is not corrupted,  or that the
  828.           file specified as being CHAIN.TXT really is.
  829.  
  830.      4> CONFIG FILE NOT FOUND.
  831.  
  832.        a) If executing CBV from a batch file make sure that you switch to
  833.           the proper directory.
  834.        b) Run CBVCFG to create the config file.
  835.  
  836.      5> UNABLE TO READ CONFIG FILE.
  837.  
  838.        a) Check to see if the config file is corrupted.  If it is then
  839.           delete it and rerun CBVCFG.
  840.  
  841.  (CBV150)  17
  842.  
  843.  
  844.     ▐ A. ERROR MESSAGES - Continued
  845.  
  846.  
  847.      6> CONFIG FILE NOT CORRECT FOR THIS VERSION.
  848.  
  849.        a) Delete the configuration file and run the configuration program
  850.           included within this package.
  851.  
  852.      7> FAILED TO INITIALIZE COMMUNICATIONS MODULE.
  853.  
  854.        a) Verify that the communications port passed in CHAIN.TXT is
  855.           correct.  If it is and you still receive this error then there is
  856.           a hardware incompatibilty and little can be done.
  857.  
  858.      8> CANNOT FIND FILE *.CBV.  (where * = paticular user message file)
  859.  
  860.        a) If executing CBV from a batch file make sure that you switch to
  861.           the proper directory.
  862.        b) Recreate the proper user message file.
  863.  
  864.      9> CANNOT FIND FILE CBVTRASH.DAT
  865.  
  866.        a) as per error #8
  867.  
  868.     10> COULD NOT OPEN USER FILE.
  869.  
  870.        a) CBV obtains the path/filename for the file USER.LST by reading
  871.           the DATA pathname from CHAIN.TXT.  Check to be sure that the
  872.           value for the data path in CHAIN.TXT is correct.  (Line 17)
  873.  
  874.     11> ERROR IN SIZE OF USER FILE.
  875.  
  876.        a) This will occur if filesize of the file USER.LST is not evenly
  877.           divisable by size of the userrec in the configuration.  If you
  878.           have modified your systems userrec you must compile and run the
  879.           DISPLAY.C program included with the CBV archive file.
  880.  
  881.     12> USER FILE ACCESS FAILED,  USER NAME MISMATCH
  882.        a) This will occur if the value entered for "userrec.name" offset is
  883.           incorrect.  Compile DISPLAY.C with your current source code and
  884.           then run the program and write down the values it lists.  Make
  885.           sure that these are the same as in CBVCFG menu USERREC.
  886.  
  887.     13> USER FILE ACCESS FAILED,  USER SL MISMATCH
  888.        a) Same as #12 but in reference to "userrec.sl".
  889.  
  890.     14> UNABLE TO LOCATE RESTORE.WWV - (MUST USE SHRINK)
  891.  
  892.        a) Make sure your CHAINEDIT has SHRINK set to "YES" or "ON".
  893.        b) Make sure the CBVCFG entry for Main BBS Directory is correct.
  894.  
  895.  (CBV150)  18
  896.  
  897.  
  898.     ▐ A. ERROR MESSAGES - Continued
  899.  
  900.  
  901.     NOTICE ERRORS :
  902.  
  903.      1> CALLER'S SECURITY LEVEL IS TO HIGH TO USE CBV.
  904.  
  905.        a) Simple,  The caller's SL is higher than the CBVCFG option for
  906.           maximum SL allowed to use program.
  907.  
  908.      2> COULD NOT RECONNECT,  CBV FAILED.
  909.  
  910.        a) This is reported whenever CBV attempts call back and cannot
  911.           reestablish the link.
  912.  
  913.     There are other notices that CBV will output,  most of all will appear
  914.     in the current SysOp log.  Most of these notices are just for
  915.     informational purposes,  there is usually no corrective action needed.
  916.  
  917.  (CBV150)  19
  918.  
  919.  
  920.     ▐▐ B. SESSION CONTROL
  921.  
  922.  
  923.     CBV has a SysOp interface loosely based upon WWIV SysOp controls.
  924.     They are available through all parts of CBV EXCEPT during the actual
  925.     call back attempt.  During that time CBV will not update the status
  926.     line nor will it respond to local key presses.
  927.  
  928.     The status line appears at the bottom of the local display,  it is
  929.     routinely updated throughout the duration of the session.  It is
  930.     divided into five sections.   The first part displays the user's user
  931.     number on the system,  the second part displays their name.  Section
  932.     three displays the current communication parameters to include the
  933.     current communications port and whether or not flow control is being
  934.     used.  The last to sections display time used and time left.
  935.  
  936.     The following keyboard commands are available during the session.
  937.  
  938.     F5 = Hangup.        - disconnects user from BBS
  939.     F7 = Decrease Time  - lowers timeleft by 180 seconds
  940.     F8 = Increase Time  - raises timeleft by 180 seconds
  941.  
  942.  (CBV150)  20
  943.  
  944.  
  945.     ▐▐▐ C. CONTACTING THE AUTHOR
  946.  
  947.  
  948.     Comments,  suggestions,  questions,  and problems can be sent to the
  949.     author using the following methods.
  950.  
  951.     U.S. Mail        (the slowest)
  952.  
  953.     Mr. Chris Holko
  954.     1029 Franklin Road Suite 4C
  955.     Marietta, GA 30067
  956.  
  957.  
  958.     WWIVNet
  959.  
  960.     E-Mail #1@4401 from any WWIVNet BBS.
  961.  
  962.  
  963.     BBS
  964.  
  965.     Iconian Gateway WWIV  (Reg #11238)
  966.     (404)426-1941 (after June 1st 1-404-ICONIAN)
  967.     PcPursuit via GAATL
  968.     300-14400/MNP5        (v32/v32bis/CSP)
  969.     670 MB Online Storage / and soon a CDROM
  970.  
  971.     E-Mail #1 "Chris"
  972.  
  973.  
  974.     REGISTRATION forms must be sent via U.S. Mail.
  975.  
  976.  
  977.  (CBV150)  21
  978.  
  979.  
  980.     ▐▐▐▐ D. USER RESTRICTIONS
  981.  
  982.  
  983.     The following is a list of restrictions that can be placed on users of
  984.     WWIV BBSes.  This is provided so that you may accurately alter values
  985.     entered in the CBVCFG Security Validation Menu.
  986.  
  987.     Restriction         - Description
  988.  
  989.     A - Automessage     The caller cannot change the automessage.
  990.     C - Chat            Caller won't be able to request chats with you.
  991.     E - E-Mail          The caller cannot send e-mail.
  992.     L - Logons          Limits the caller to 1 logon per day.
  993.     N - WWIVnet         The caller cannot use WWIVnet on your board.
  994.     P - Posts           The caller cannot post messages.
  995.     V - Voting          The caller is not permitted to vote.
  996.     * - Anonymous       The caller cannot post anonymously.
  997.     M - Messages        Posts by the caller will not be accessible by your
  998.                          other callers until either yourself or a co-sysop
  999.                          have read and approved the message for public
  1000.                          viewing.
  1001.  
  1002.  
  1003.     Exemption           - Description
  1004.  
  1005.       1                 Exempt from file ratio
  1006.       2                 Exempt from time  (not sure)
  1007.       3                 Exempt from all   (unknown)
  1008.       4                 Exempt from post/call ratio
  1009.  
  1010.  (CBV150)  22
  1011.  
  1012.  
  1013.     ▐▐▐▐▐ E. CBVCFG.DAT LAYOUT
  1014.  
  1015.  
  1016.     This structure of CBVCFG.DAT is provided for informational purposes
  1017.     only,  it should not be modified except by the CBVCFG program.
  1018.  
  1019.     ConfigRec           = RECORD
  1020.       header            : STRING[15];
  1021.       use_note_field,                  (* place number in note field      *)
  1022.       compare_fons,                    (* compare userrec.phone 2 entry?? *)
  1023.       update_trash,                    (* auto-update trash file          *)
  1024.       allow_ld,                        (* allow in-areac ld calls         *)
  1025.       allow_out_ld,                    (* allow out of areac ld calls     *)
  1026.       CTS_RTS,                         (* perform CTS/RTS checking        *)
  1027.       hangup_after,                    (* hangup after all verifications  *)
  1028.       wwiv_421,                        (* using wwiv 4.20a and above      *)
  1029.       use_callfile,                    (* CANCALL.DAT - ac-pr to only call*)
  1030.       direct_write,                    (* perform non-bios screen updates *)
  1031.       tbool1,tbool2     : BOOLEAN;
  1032.       retry_attempts,                  (* call back attempts per session  *)
  1033.       delay_time,                      (* delay between hangup/callback   *)
  1034.       drop_delay,                      (* delay to keep DTR lowered       *)
  1035.       min_time,                        (* min time granted for door use   *)
  1036.       hang_time,                       (* no entry hangup time            *)
  1037.       max_SL,                          (* max sl to use door              *)
  1038.       LC_SL,                           (* New SL when validated           *)
  1039.       LC_DSL,                          (* New DSL when validated          *)
  1040.       LC_exempt,                       (* New Exempt when validated       *)
  1041.       LD_SL,                           (* New SL when Long-Dist validated *)
  1042.       LD_DSL,                          (* New DSL when Long-Dist validated*)
  1043.       LD_exempt        : BYTE;         (* New Exempt when LD validated    *)
  1044.       IRQLevel,                        (* not used                        *)
  1045.       LC_AR,                           (* ARs when validated              *)
  1046.       LC_DAR,                          (* DARs when validated             *)
  1047.       LC_REST,                         (* Restrictions when validated     *)
  1048.       LD_AR,                           (* LD ARs when validated           *)
  1049.       LD_DAR,                          (* LD DARs when validated          *)
  1050.       LD_REST          : WORD;         (* LD Restrictions when validated  *)
  1051.       bbs_areac,bbs_prefix,
  1052.       bbs_suffix       : STRING[4];    (* BBS phone number                *)
  1053.       LD_PREFIX        : STRING[20];   (* 1- or whatever                  *)
  1054.       dialcommand,                     (* command to dial on modem        *)
  1055.       hangupcmd        : STRING[30];   (* command to hangup the modem     *)
  1056.       bbsdirectory     : STRING[60];   (* path to main BBS directory      *)
  1057.       loc_actsl,                       (* byte location in restore.wwv    *)
  1058.       userreclen,                      (* lenght of structure userrec     *)
  1059.       offset_name,                     (* offset for name field           *)
  1060.       offset_phone,offset_passwd,
  1061.       offset_note,offset_sl,
  1062.       offset_dsl,offset_exempt,
  1063.       offset_ar,offset_dar,
  1064.       offset_rest      : WORD;
  1065.       version1,version2,               (* version checking - 2 flags      *)
  1066.       LastDate,                        (* NOT USED                        *)
  1067.       LD_WIN_START,                    (* seconds since midnight timing   *)
  1068.       LD_WIN_STOP      : LONGINT;      (* for ld window                   *)
  1069.     END;
  1070.  
  1071.  
  1072.